﻿using Shop.Model.Category;
using Shop.Model.DB;
using Shop.Model.FrontCategory;

namespace Shop.Repository
{
    public interface IFrontCategoryRepository : IShopBaseRepository<DBFrontCategory, long>
    {
        Result[] Gets<Result> (FrontCategoryGet param) where Result : class, new();
        void Add (DBFrontCategory add);
        void Enable (long[] ids);
        void Move (long id, CategoryMoveArg arg, SubCategorySet[] sets);
        void SetSort (Dictionary<long, int> sorts);
        void Stop (long[] ids);
    }
}